<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">


  <title>Posts-blog.qikqiak.com|阳明的博客|Kubernetes|Docker|Python|Golang|Cloud Native</title>
  <meta property="og:title" content="Posts" />
  <meta name="twitter:title" content="Posts" />

  <meta name="author" content=""/>
  <link href='https://blog.qikqiak.com/img/favicon.ico' rel='icon' type='image/x-icon'/>
  <meta property="og:image" content="https://blog.qikqiak.com/img/avatar.jpeg" />
  <meta name="twitter:image" content="https://blog.qikqiak.com/img/avatar.jpeg" />
  <meta name="twitter:card" content="summary" />
  <meta property="og:url" content="https://blog.qikqiak.com/post/" />
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="阳明的博客" />

  <meta name="generator" content="Hugo 0.34" />
  <link rel="canonical" href="https://blog.qikqiak.com/post/" />
  <link rel="alternate" href="https://blog.qikqiak.com/index.xml" type="application/rss+xml" title="阳明的博客">
  <link href="https://cdn.bootcss.com/KaTeX/0.7.1/katex.min.css" rel="stylesheet">
  <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://blog.qikqiak.com/css/main.css?t=1235" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
  <link rel="stylesheet" href="https://blog.qikqiak.com/css/pygment_highlights.css" />
  <link rel="stylesheet" href="https://blog.qikqiak.com/css/highlight.min.css" />
  <link rel="stylesheet" href="https://blog.qikqiak.com/css/prism.css?t=123" />
  <link rel="stylesheet" href="https://blog.qikqiak.com/css/search.css" />
<meta name="keywords" content="">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?970de9920f6089c287a7fd366138d4e9";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>



<link href="https://cdn.bootcss.com/photoswipe/4.1.1/photoswipe.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/photoswipe/4.1.1/default-skin/default-skin.min.css" rel="stylesheet">



<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

<div class="pswp__bg"></div>

<div class="pswp__scroll-wrap">
    
    <div class="pswp__container">
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
      <div class="pswp__item"></div>
    </div>
    
    <div class="pswp__ui pswp__ui--hidden">
    <div class="pswp__top-bar">
      
      <div class="pswp__counter"></div>
      <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
      <button class="pswp__button pswp__button--share" title="Share"></button>
      <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
      <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
      
      
      <div class="pswp__preloader">
        <div class="pswp__preloader__icn">
          <div class="pswp__preloader__cut">
            <div class="pswp__preloader__donut"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
      <div class="pswp__share-tooltip"></div>
    </div>
    <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
    </button>
    <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
    </button>
    <div class="pswp__caption">
      <div class="pswp__caption__center"></div>
    </div>
    </div>
    </div>
</div>

<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-69668147-3', 'auto');
ga('send', 'pageview');
</script>
<script async src='//www.google-analytics.com/analytics.js'></script>

</head>

  <body>
    <nav class="navbar navbar-default navbar-fixed-top navbar-custom">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="https://blog.qikqiak.com/">阳明的博客</a>
    </div>

    <div class="collapse navbar-collapse" id="main-navbar">
      <ul class="nav navbar-nav navbar-right">
        
          
            <li>
              <a title="Home" href="https://ydzs.io">Home</a>
            </li>
          
        
          
            <li class="navlinks-container">
              <a class="navlinks-parent" href="javascript:void(0)">Categories</a>
              <div class="navlinks-children">
                
                  <a href="https://blog.qikqiak.com/page/archive/">Archive</a>
                
                  <a href="https://blog.qikqiak.com/tags">tags</a>
                
                  <a href="https://blog.qikqiak.com/tags/kubernetes">kubernetes</a>
                
                  <a href="https://blog.qikqiak.com/tags/python">python</a>
                
                  <a href="https://blog.qikqiak.com/tags/django">django</a>
                
                  <a href="https://blog.qikqiak.com/tags/ops">devops</a>
                
              </div>
            </li>
          
        
          
            <li class="navlinks-container">
              <a class="navlinks-parent" href="javascript:void(0)">海马学院</a>
              <div class="navlinks-children">
                
                  <a href="https://www.haimaxy.com/course/6y02wp/?utm_source=blog&amp;utm_campaign=referral&amp;utm_medium=topmenu">Python微服务实战</a>
                
                  <a href="https://www.haimaxy.com/course/pww13p/?utm_source=blog&amp;utm_campaign=referral&amp;utm_medium=topmenu">Webpack3.x 入门</a>
                
                  <a href="https://www.haimaxy.com/course/pjrqxm/?utm_source=blog&amp;utm_campaign=referral&amp;utm_medium=topmenu">Kubernetes 集群搭建</a>
                
              </div>
            </li>
          
        
          
            <li>
              <a title="About" href="https://blog.qikqiak.com/page/about/">About</a>
            </li>
          
        

        

        

        
          <li>
            <a href="#modalSearch" data-toggle="modal" data-target="#modalSearch" style="outline: none;">
              <span class="hidden-sm hidden-md hidden-lg">Search</span> <span id="searchGlyph" class="glyphicon glyphicon-search"></span>
            </a>
          </li>
          

      </ul>
    </div>

    <div class="avatar-container">
      <div class="avatar-img-border">
        
          <a title="阳明的博客" href="https://blog.qikqiak.com/">
            <img class="avatar-img" src="https://blog.qikqiak.com/img/avatar.jpeg" alt="阳明的博客" />
          </a>
        
      </div>
    </div>

  </div>
</nav>





  <div id="modalSearch" class="modal fade" role="dialog">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <h4 class="modal-title">Search blog.qikqiak.com</h4>
        </div>
        <div class="modal-body">
            
<div class="aa-input-container" id="aa-input-container">
    <input type="search" id="aa-search-input" class="aa-input-search" placeholder="Search for titles or URIs..." name="search" autocomplete="off" />
    <svg class="aa-input-icon" viewBox="654 -372 1664 1664">
        <path d="M1806,332c0-123.3-43.8-228.8-131.5-316.5C1586.8-72.2,1481.3-116,1358-116s-228.8,43.8-316.5,131.5  C953.8,103.2,910,208.7,910,332s43.8,228.8,131.5,316.5C1129.2,736.2,1234.7,780,1358,780s228.8-43.8,316.5-131.5  C1762.2,560.8,1806,455.3,1806,332z M2318,1164c0,34.7-12.7,64.7-38,90s-55.3,38-90,38c-36,0-66-12.7-90-38l-343-342  c-119.3,82.7-252.3,124-399,124c-95.3,0-186.5-18.5-273.5-55.5s-162-87-225-150s-113-138-150-225S654,427.3,654,332  s18.5-186.5,55.5-273.5s87-162,150-225s138-113,225-150S1262.7-372,1358-372s186.5,18.5,273.5,55.5s162,87,225,150s113,138,150,225  S2062,236.7,2062,332c0,146.7-41.3,279.7-124,399l343,343C2305.7,1098.7,2318,1128.7,2318,1164z" />
    </svg>
</div>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/algoliasearch.min.js"></script>
<script src="https://res.cloudinary.com/jimmysong/raw/upload/rootsongjc-hugo/autocomplete.min.js"></script>

<script>
var client = algoliasearch("1JDRAS0AZR", "8804ac109158bb3bb60d74ce98fa332f");
var index = client.initIndex('prod_blog');

autocomplete('#aa-search-input',
{ hint: false}, {
    source: autocomplete.sources.hits(index, {hitsPerPage: 5}),
    
    displayKey: 'name',
    
    templates: {
        
        suggestion: function(suggestion) {
            return '<span>' + '<a href="https://blog.qikqiak.com/post/' + suggestion.slug + '">' +
            suggestion._highlightResult.title.value + '</a></span>';
        }
    }
});
</script>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">close</button>
        </div>
      </div>
    </div>
  </div>

    
  <header class="header-section ">
    <div class="intro-header no-img">
      <div class="container">
        <div class="row">
          <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
            <div class="page-heading">
              <h1>Posts</h1>
              <hr class="small">
            </div>
          </div>
        </div>
      </div>
    </div>
  </header>

    
  <div class="container" role="main">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        
        <div class="posts-list">
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/tdd-develop-python-microservice-app/">
                <h2 class="post-title">TDD开发容器化的Python微服务应用(一)</h2>

                
              </a>

              <p class="post-meta">
                Posted on December 28, 2017
              </p>
              <div class="post-entry">
                
                  <p>在这个课程中，你将学习如何使用<code>Docker</code>快速创建开发环境、管理多个微服务，应用程序在本地运行后，您将学习怎样在生产环境部署应用。我们也会练习<code>TDD</code>(测试驱动开发)，在你的项目中测试先行，我们重点将放在服务端的单元测试、功能和集成测试以及端到端的测试上面，以确保整个系统按预期工作。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/tdd-develop-python-microservice-app/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/python/">python</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/flask/">flask</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/tdd/">TDD</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/docker/">docker</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/react/">react</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/microservice/">Microservice</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/alertmanager-of-prometheus-in-practice/">
                <h2 class="post-title">Prometheus报警AlertManager实战</h2>

                
              </a>

              <p class="post-meta">
                Posted on December 27, 2017
              </p>
              <div class="post-entry">
                
                  <p>在前面一文<a href="https://blog.qikqiak.com/post/kubernetes-monitor-prometheus-grafana/">Kubernetes使用Prometheus搭建监控平台</a>中我们知道了怎么使用<code>Prometheus</code>来搭建监控平台，也了解了<code>grafana</code>的使用。这篇文章就来说说报警系统的搭建，有人说报警用<code>grafana</code>就行了，实际上<code>grafana</code>对报警的支持真的很弱，而<code>Prometheus</code>提供的报警系统就强大很多，今天我们的主角就是<code>AlertManager</code>。</p>
                  <a href="https://blog.qikqiak.com/post/alertmanager-of-prometheus-in-practice/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/prometheus/">prometheus</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/alertmanager/">alertmanager</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/webpack3-get-started/">
                <h2 class="post-title">webpack3入门到放肆视频教程</h2>

                
              </a>

              <p class="post-meta">
                Posted on December 26, 2017
              </p>
              <div class="post-entry">
                
                  <p>前段时间花了点时间做了一个视频教学网站：<a href="https://www.haimaxy.com?utm_source=blog&amp;utm_campaign=webpack-started&amp;utm_medium=article">海马学院</a>，该产品的核心是围绕<code>python</code>全栈(也会涉及到<code>nodejs</code>、<code>golang</code>等)相关的知识教学，基础的一些教学视频全免费的，但是也会推出很多付费的教学视频，付费的以实际的实战项目为主，如果你愿意的话，只需要花费一顿饭钱就可以学习到很多项目实战的经验。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/webpack3-get-started/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/webpack/">webpack</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/%E8%A7%86%E9%A2%91/">视频</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/a-better-git-log/">
                <h2 class="post-title">更优雅的git log</h2>

                
              </a>

              <p class="post-meta">
                Posted on December 20, 2017
              </p>
              <div class="post-entry">
                
                  <p>对于码农来说<code>git log</code>是自然熟悉不过的了，但是每天面对<code>git log</code>原始的日志格式，你是不是觉得很烦人啊，因为上面的给的信息太不人性化了，而且我相信大部分的码农的提交日志都是随心所欲的
</p>
                  <a href="https://blog.qikqiak.com/post/a-better-git-log/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/git/">git</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/log/">log</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/ops/">ops</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/update-prometheus-2-in-kubernetes/">
                <h2 class="post-title">Kubernetes 下升级Prometheus2.0</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 22, 2017
              </p>
              <div class="post-entry">
                
                  <p><code>prometheus</code>2.0正式版已经发布了，新增了很多特性，特别是底层存储性能提升了不少：<a href="https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/">https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/</a>。</p>

<p>在将之前监控平台升级到2.0 的过程中还是有一些坑的，因为有很多参数已经更改了，还不清除怎么在<code>kubernetes</code>上搭建<code>prometheus</code>监控平台的，可以查看前面的文章<a href="https://blog.qikqiak.com/post/kubernetes-monitor-prometheus-grafana/">Kubernetes使用Prometheus搭建监控平台</a></p>

<p>本文章中涉及到的<code>yaml</code>文件可以在<a href="https://github.com/cnych/k8s-repo/tree/master/prometheus">github</a>中查看。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/update-prometheus-2-in-kubernetes/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/prometheus/">prometheus</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/grafana/">grafana</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/kubernetes-logs-collect/">
                <h2 class="post-title">kubernetes 日志收集方案</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 22, 2017
              </p>
              <div class="post-entry">
                
                  <p>完善的日志系统是保证系统持续稳定运行的基石，帮助提升运维、运营效率，建立大数据时代的海量日志处理等能力都需要日志系统的支持，所以搭建一套行之有效的日志系统至关重要。</p>

<p>本文将介绍两种kubernetes 集群下日志收集的方案：阿里云日志服务或者<code>EFK</code>方案</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/kubernetes-logs-collect/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/elasticsearch/">ElasticSearch</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/%E9%98%BF%E9%87%8C%E4%BA%91/">阿里云</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/socketio-multiple-nodes-in-kubernetes/">
                <h2 class="post-title">kubernetes 下实现socket.io 的集群模式</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 21, 2017
              </p>
              <div class="post-entry">
                
                  <p><code>socket.io</code> 单节点模式是很容易部署的，但是往往在生产环境一个节点不能满足业务需求，况且还要保证节点挂掉的情况仍能正常提供服务，所以多节点模式就成为了生成环境的一种必须的部署模式。</p>

<p>本文将介绍如何在kubernetes 集群上部署多节点的<code>socket.io</code>服务。</p>

<p>文章中涉及到的代码可以前往<a href="https://github.com/cnych/k8s-socketio-cluster-demo">https://github.com/cnych/k8s-socketio-cluster-demo</a>查看。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/socketio-multiple-nodes-in-kubernetes/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/socket.io/">socket.io</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/cluster/">cluster</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/install-docker-registry-harbor-in-kubernetes/">
                <h2 class="post-title">在kubernetes 集群上搭建docker 私有仓库Harbor</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 20, 2017
              </p>
              <div class="post-entry">
                
                  <p><code>Harbor</code>是一个用于存储和分发Docker 镜像的企业级Registry 服务器，通过添加一些企业必需的功能特性，例如安全、标识和管理等，扩展了开源Docker Distribution。作为一个企业级私有Registry 服务器，Harbor 提供了更好的性能和安全。提升用户使用Registry构建和运行环境传输镜像的效率。Harbor 支持安装在多个Registry节点的镜像资源复制，镜像全部保存在私有Registry 中， 确保数据和知识产权在公司内部网络中管控。另外，Harbor也提供了高级的安全特性，诸如用户管理，访问控制和活动审计等。</p>

<p>本文将介绍如何在kubernetes 集群上搭建一个高可用的Harbor 服务。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/install-docker-registry-harbor-in-kubernetes/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/docker/">docker</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/harbor/">Harbor</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/update-kubernetes-dashboard-more-secure/">
                <h2 class="post-title">kubernetes dashboard 升级之路</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 13, 2017
              </p>
              <div class="post-entry">
                
                  <p>在前面<a href="https://blog.qikqiak.com/post/manual-install-high-available-kubernetes-cluster">手动搭建高可用的kubernetes 集群</a>一文中我们安装的<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>集群是<code>v1.8.2</code>版本，该版本的<code>dashboard</code>插件还是<strong>1.6.x</strong>，如果你把<code>dashboard</code>暴露在公网环境下面访问的话，是非常不安全的，因为该版本没有任何的安全登录之类的处理，在最新版本的<strong>1.7.x</strong>中则新增了更多安全相关的特性，我们可以升级到该版本或以上来暴露我们的<code>dashboard</code>到公网环境下面，当然安全都是相对的，能不暴露在公网环境下面当然是最好的。</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/update-kubernetes-dashboard-more-secure/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/dashboard/">dashboard</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/https/">https</a>&nbsp;
                  
                </span>
              

            </article>
          
            <article class="post-preview">
              <a href="https://blog.qikqiak.com/post/manual-install-high-available-kubernetes-cluster/">
                <h2 class="post-title">手动搭建高可用的kubernetes 集群</h2>

                
              </a>

              <p class="post-meta">
                Posted on November 6, 2017
              </p>
              <div class="post-entry">
                
                  <p>之前按照<a href="https://github.com/opsnull/follow-me-install-kubernetes-cluster">和我一步步部署 kubernetes 集群</a>的步骤一步一步的成功的使用二进制的方式安装了<code>kubernetes</code>集群，在该文档的基础上重新部署了最新的<code>v1.8.2</code>版本，实现了<code>kube-apiserver</code>的高可用、<code>traefik ingress</code> 的部署、在<code>kubernetes</code>上安装<code>docker</code>的私有仓库<code>harbor</code>、容器化<code>kubernetes</code>部分组建、使用阿里云日志服务收集日志。</p>

<p>部署完成后，你将理解系统各组件的交互原理，进而能快速解决实际问题，所以本文档主要适合于那些有一定<code>kubernetes</code>基础，想通过一步步部署的方式来学习和了解系统配置、运行原理的人。</p>

<p>本系列系文档适用于 <code>CentOS 7</code>、<code>Ubuntu 16.04</code> 及以上版本系统，由于启用了 <code>TLS</code> 双向认证、<code>RBAC</code> 授权等严格的安全机制，建议<strong>从头开始部署</strong>，否则可能会认证、授权等失败！</p>

<p></p>
                  <a href="https://blog.qikqiak.com/post/manual-install-high-available-kubernetes-cluster/" class="post-read-more">[Read More]</a>
                
              </div>

              
                <span class="post-meta">
                  
                    #<a href="https://blog.qikqiak.com/tags/kubernetes/">kubernetes</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/%E9%AB%98%E5%8F%AF%E7%94%A8/">高可用</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/%E9%9B%86%E7%BE%A4/">集群</a>&nbsp;
                  
                    #<a href="https://blog.qikqiak.com/tags/docker/">docker</a>&nbsp;
                  
                </span>
              

            </article>
          
        </div>
        
          <ul class="pager main-pager">
            
              <li class="previous">
                <a href="https://blog.qikqiak.com/post/page/2">&larr; Newer Posts</a>
              </li>
            
            
              <li class="next">
                <a href="https://blog.qikqiak.com/post/page/4">Older Posts &rarr;</a>
              </li>
            
          </ul>
        
      </div>
    </div>
  </div>

    <footer>
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <ul class="list-inline text-center footer-links">
          
              <li>
                <a href="mailto:icnych@gmail.com" title="Email me">
                  <span class="fa-stack fa-lg">
                    <i class="fa fa-circle fa-stack-2x"></i>
                    <i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
                  </span>
                </a>
              </li>
          
              <li>
                <a href="https://github.com/cnych" title="GitHub">
                  <span class="fa-stack fa-lg">
                    <i class="fa fa-circle fa-stack-2x"></i>
                    <i class="fa fa-github fa-stack-1x fa-inverse"></i>
                  </span>
                </a>
              </li>
          
              <li>
                <a href="https://weibo.com/cnych" title="微博">
                  <span class="fa-stack fa-lg">
                    <i class="fa fa-circle fa-stack-2x"></i>
                    <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
                  </span>
                </a>
              </li>
          
              <li>
                <a href="https://instagram.com/cnych" title="Instagram">
                  <span class="fa-stack fa-lg">
                    <i class="fa fa-circle fa-stack-2x"></i>
                    <i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
                  </span>
                </a>
              </li>
          
          
          <li>
            <a href="https://blog.qikqiak.com/index.xml" title="RSS">
              <span class="fa-stack fa-lg">
                <i class="fa fa-circle fa-stack-2x"></i>
                <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
              </span>
            </a>
          </li>
          
        </ul>
        <p class="credits copyright text-muted">
          

          &nbsp;&bull;&nbsp;
          2018

          
            &nbsp;&bull;&nbsp;
            <a href="https://blog.qikqiak.com/">阳明的博客</a>
          
        </p>
        
        <p class="credits theme-by text-muted">
          <a href="http://gohugo.io">Hugo v0.34</a> powered &nbsp;&bull;&nbsp; Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>
          
        </p>
      </div>
    </div>
  </div>
</footer>

<script src="https://cdn.bootcss.com/KaTeX/0.7.1/katex.min.js"></script>
<script src="https://cdn.bootcss.com/KaTeX/0.7.1/contrib/auto-render.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://blog.qikqiak.com/js/main.min.js"></script>
<script src="https://blog.qikqiak.com/js/highlight.min.js"></script>
<script> hljs.initHighlightingOnLoad(); </script>
<script> renderMathInElement(document.body); </script>
<script src="https://blog.qikqiak.com/js/prism.js?t=123"></script>
<script src="https://cdn.bootcss.com/photoswipe/4.1.1/photoswipe.min.js"></script>
<script src="https://cdn.bootcss.com/photoswipe/4.1.1/photoswipe-ui-default.min.js"></script>
<script src="https://blog.qikqiak.com/js/load-photoswipe.min.js"></script>



<script async src="https://www.googletagmanager.com/gtag/js?id=UA-69668147-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-69668147-3');
</script>

  </body>
</html>

